package o;

import android.media.session.MediaSession.QueueItem;
import android.media.session.MediaSession.Token;
import androidx.annotation.RequiresApi;

@RequiresApi(21)
public class y {

    public static class d {
        public static Object ˎ(Object obj) {
            return ((QueueItem) obj).getDescription();
        }

        public static long ˊ(Object obj) {
            return ((QueueItem) obj).getQueueId();
        }
    }

    public static Object ˊ(Object obj) {
        if (obj instanceof Token) {
            return obj;
        }
        throw new IllegalArgumentException("token is not a valid MediaSession.Token object");
    }
}
